<template>
  <div class="common-layout">
    <el-container>
      <el-header>
        顶部导航栏
      </el-header>
      <el-main>
        <Index></Index>
        <div style="margin: 0 15px">
          <router-view/>
        </div>
      </el-main>
    </el-container>
  </div>
</template>

<script>
  import Index from './sys/Index';

  export default {
    name: "Home",

    components: {
      Index
    },
}
</script>


<style>
  .el-container {
    padding: 0;
    margin: 0;
    height: 100vh;
  }

  .router-link {
    text-decoration: none;
  }

  .header-avatar {
    float: right;
    width: 250px;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .el-header {
    background-color: #B3C0D1;
    color: #333;
    text-align: center;
    line-height: 60px;
  }

  .el-aside {
    background-color: #D3DCE6;
    color: #333;
    text-align: center;
    line-height: 200px;
  }

  .el-main {
    background-color: #E9EEF3;
    color: #333;
    /*line-height: 160px;*/
    padding: 0;
  }

  .el-dropdown-link {
    cursor: pointer;
    color: #409EFF;
  }

  .el-icon-arrow-down {
    font-size: 12px;
  }

  a {
    text-decoration: none;
  }

  template {
    display: block;
  }
</style>